﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Cloud.Core.Response
{
    public class DataList
    {
        /// <summary>
        /// 返回数据量
        /// </summary>
        public int Count { get; set; }

        /// <summary>
        /// 总数据量
        /// </summary>
        public int Total { get; set; }
    }

    public class DataList<T> : DataList
    {
        /// <summary>
        /// 数据列表
        /// </summary>
        public T[] List { get; set; }
    }
}
